Translator Options and Statistics
The gxTranslationOptions enumeration defines constants that control various aspects of the translation from QuickDraw to QuickDraw GX:
enum gxTranslationOptions { gxDefaultOptionsTranslation = 0x0000, gxOptimizedTranslation = 0x0001, gxReplaceLineWidthTranslation = 0x0002, gxSimpleScalingTranslation = 0x0004, gxSimpleGeometryTranslation = 0x0008, gxSimpleLinesTranslation = 0x000C, gxLayoutTextTranslation = 0x0010, gxRasterTargetTranslation = 0x0020, gxPostScriptTargetTranslation = 0x0040, gxVectorTargetTranslation = 0x0080 }; typedef long gxTranslationOption;The individual constants for the enumeration are described in Table 1-2 on page 1-12.The gxTranslationStatistics enumeration defines constants that are used as masks, any of which you can combine using an
AND
operation to interpret the statistics gathered during translation:
enum gxTranslationStatistics { gxContainsFormsBegin = 0x0001, gxContainsFormsEnd = 0x0002, gxContainsPostScript = 0x0004, gxContainsEmptyPostScript = 0x0008 }; typedef long gxTranslationStatistic;The individual constants for the enumeration are described in Table 1-3 on page 1-20.